﻿using Caliburn.Micro;
using MusicExplorer.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Media.Imaging;

namespace MusicExplorer.ViewModels.Wrappers
{
    public abstract class EntityTileViewModel : PropertyChangedBase
    {
        protected readonly PageViewModelBase m_parent;
        protected readonly Entity m_entity;

        public EntityTileViewModel(PageViewModelBase parent, Entity entity)
        {
            m_parent = parent;
            m_entity = entity;
        }

        public PageViewModelBase Parent { get { return m_parent; } }
        public Entity Entity { get { return m_entity; } }
        public string DisplayName { get { return m_entity.Name; } }
    }
}
